<script setup lang="ts">
import { StagewiseToolbar } from '@stagewise/toolbar-vue'
import { ref } from 'vue'

// 仅在开发环境渲染toolbar
const isDev = import.meta.env.MODE === 'development'

const stagewiseConfig = ref({
  plugins: []
})
</script>

<template>
  <router-view />
  <StagewiseToolbar v-if="isDev" :config="stagewiseConfig" />
</template>

<style>
/* 全局样式可以在这里添加 */
</style>
